import fetch from '@/utils/request'

export function page(query) {
  return fetch({
    url: '/api/adminBiz/marIntegrals/page',
    method: 'post',
    params: query
  })
}

export function addObj(obj) {
  return fetch({
    url: '/api/adminBiz/marIntegrals/add',
    method: 'post',
    data: obj
  })
}

export function getObj(obj) {
  return fetch({
    url: '/api/adminBiz/marIntegrals/info',
    method: 'post',
    data: obj
  })
}

export function delObj(obj) {
  return fetch({
    url: '/api/adminBiz/marIntegrals/delete',
    method: 'post',
    data: obj
  })
}

export function putObj(obj) {
  return fetch({
    url: '/api/adminBiz/marIntegrals/update',
    method: 'post',
    data: obj
  })
}
export function getInfo(obj) {
  return fetch({
    url: '/api/adminBiz/marIntegrals/info',
    method: 'post',
    data: obj
  })
}

export function stopObj(obj) {
  return fetch({
    url: '/api/adminBiz/marIntegrals/stop',
    method: 'post',
    data: obj
  })
}

